<%@	page import="com.ym.b2b.cache.configcache.WebAppConfig"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="b" uri="/b2b-tags"%>
<style>
/*轮换大区域*/
.lunhuan{width:288px;height:250px;position:relative;margin: 0 auto;}
.lunhuan #lunhuanback{width:100%;height:250px;;position:absolute;left:0px;top:0px;overflow:hidden;}
.lunhuan #lunhuanback p{width:100%;height:250px;position:absolute;left:0px;top:0px;opacity:0;filter:alpha(opacity=0);background-position:50% 0px;}
.lunhuan #lunhuanback p img{width: 288px;height: 250px;}

.lunhuan .lunhuan_main{width:288px;height:241px;margin:0 auto;position:relative;}

/*轮换中间区域*/
.lunhuancenter{width:288px;height:250px;}
.lunhuancenter .centergif{display:block;width:326px;height:250px;position:absolute;left:0px;top:0px;z-index:4;}

#lunbonum{height:14px;line-height:23px;position:absolute;left:215px;top:225px;z-index:5;}
#lunbonum li{width:14px;height:14px;float:left;margin-right:9px;background:#B4B4B4;border-radius:14px;cursor:pointer;}
#lunbonum .lunboone{background:#C80002;cursor:pointer;}
div.vertial_box { float: left; width: 196px; height: 288px; position: relative; }
</style>

<script type="text/javascript">
$(document).ready(function(){
    var ali=$('#lunbonum li');
    var aPage=$('#lunhuanback p');
    var aslide_img=$('.lunhuancenter b');
    var iNow=0;
    ali.each(function(index){	
        $(this).mouseover(function(){
            slide(index);
        })
    });
    function slide(index){	
        iNow=index;
        ali.eq(index).addClass('lunboone').siblings().removeClass();
		aPage.eq(index).siblings().stop().animate({opacity:0},600);
		aPage.eq(index).stop().animate({opacity:1},600);	
        aslide_img.eq(index).stop().animate({opacity:1,top:-10},600).siblings('b').stop().animate({opacity:0,top:-40},600);
    }
	
	function autoRun(){	
        iNow++;
		if(iNow==ali.length){
			iNow=0;
		}
		slide(iNow);
	}
	
	var timer=setInterval(autoRun,4000);
		
    ali.hover(function(){
		clearInterval(timer);
	},function(){
		timer=setInterval(autoRun,4000);
    });
})
</script>
<link href="views/jsp/xcimage/201406.css" rel="stylesheet" type="text/css">
<link href="views/jsp/xcimage/js_focus.css" rel="stylesheet" type="text/css">
<%-- flash开始 --%>
<table width="100%" height="330" cellspacing="0">
	<tbody>
		<tr>
			<td width="100%" height="330" align="center"><object
					classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
					codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
					<param name="movie" value="banner.swf">
					<param name="quality" value="high">
					<param name="wmode" value="transparent">
					<embed src="<c:url value="/views/jsp/banner.swf" />" width="100%"
						height="330" quality="high"
						pluginspage="http://www.macromedia.com/go/getflashplayer"
						type="application/x-shockwave-flash" wmode="transparent">
				</object></td>
		</tr>

	</tbody>
</table>
<%-- flash结束 --%>
<%-- 渐变分割线 --%>
<table width="100%" height="22" cellspacing="0">
	<tbody>
		<tr>
			<td width="100%" height="22"
				background="<c:url value="/views/jsp/xcimage/top_bg2.jpg" />">&nbsp;</td>
		</tr>
	</tbody>
</table>
<%-- 空白分割线 --%>
<table width="1000" height="15" cellspacing="0">
	<tbody>
		<tr height="4">
			<td width="1000" height="10"></td>
		</tr>
	</tbody>
</table>

<%-- F1 轮换图 + 新闻 + 快速通道 --%>
<table width="1000" height="249" border="0" align="center"
	cellpadding="0" cellspacing="0" style="margin-bottom: 15px;">
	<tbody>
		<tr>
			
 			<td width="326" height="249" align="left" bgcolor="#FFFFFF" style="border: 1px #C7D3E3 solid;">
 				<div class="lunhuan">
			    <div id="lunhuanback">
			    	<b:getKey outResponseAttrName="ad" key="AD_1,AD_2,AD_3" />
			       	<p style="opacity: 1;filter:alpha(opacity=100);">
			       		<img src="${ad.AD_1.value }"   />
			       	</p>
			       	<p>
			       		<img src="${ad.AD_2.value }"   />
			       	</p>
			       	<p>
			       		<img src="${ad.AD_3.value }"   />
			       	</p>
			   </div>
			   <div class="lunhuan_main">
			       <!-- 轮换中间区域 -->
			       <div class="lunhuancenter">
			           <!-- 轮播的页码  开始 -->
			           <ul id='lunbonum'>
			               <li class='lunboone'></li>
			               <li></li>
			               <li></li>
			           </ul>
			           <!-- 轮播的页码  结束 -->
			       </div>
			       <!-- 轮换中间区域结束 -->
			    </div>
			</div>
<%--		<table width="288" height="241" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tbody>
						<tr>
							<td width="288" height="241" align="left">
								<!--焦点广告-->
								<div id="myFocus" class="mF_expo2010">
									<ul class="pic">
										<li>
											<a href="http://www.ahxcyy.com/NewsInfo.aspx?NewsID=305">
											<img src="<c:url value="/views/jsp/xcimage/1.jpg" />" border="0">
											</a>
										</li>
										<li>
											<a	href="http://www.ahxcyy.com/NewsInfo.aspx?NewsID=198">
											<img src="<c:url value="/views/jsp/xcimage/2.jpg" />" border="0">
											</a></li>

										<li>
											<a href="http://www.ahxcyy.com/NewsInfo.aspx?NewsID=188">
											<img src="<c:url value="/views/jsp/xcimage/3.jpg" />" border="0">
											</a>
										</li>
									</ul>
									<ul class="txt-bg">
										<li></li>
										<li></li>
										<li></li>
									</ul>
								</div> <!--焦点广告-->
							</td>
						</tr>
					</tbody>
				</table>--%>
			</td> 
			<td width="447" align="center" valign="top" style="padding-left: 20px;padding-right: 20px;">
				<table width="428" height="31" border="0" cellpadding="0" cellspacing="0"
					background="<c:url value="/views/jsp/xcimage/index_new_r1_c12.jpg" />" >
					<tbody>
						<tr>
							<td width="10" height="31" align="left">
							</td>
							<td width="371" align="left" valign="bottom">
								<table width="172" height="26" border="0" cellpadding="0"
									cellspacing="0">
									<tbody>
										<tr>
											<td width="10">&nbsp;</td>
											<td width="76" align="center" id="tit1" class="index_menu_over">公司新闻</td>
											<td width="10" align="center">&nbsp;</td>
											<td width="76" align="center" id="tit2" class="index_menu_out">行业新闻</td>
										</tr>
									</tbody>
								</table>
							</td>
							<td width="41" align="center"><a
								href="http://www.ahxcyy.com/NewsList.aspx?bid=1000&amp;sid=1002"
								target="_blank" class="font1">更多</a></td>
							<td width="6" align="right">
							</td>
						</tr>
					</tbody>
				</table>
				<table width="428" height="210" border="0" align="center"
					cellpadding="0" cellspacing="0"
					style="border-left: 1px #C7D3E3 solid; border-right: 1px #C7D3E3 solid;">
					<tbody>
						<tr>
							<td width="426" height="15" valign="top">
								<table width="100%" height="10" border="0" cellpadding="0"
									cellspacing="0">
									<tbody>
										<tr>
											<td height="10"></td>
										</tr>
									</tbody>
								</table>
								<table width="404" height="25" border="0" align="center"
									cellpadding="0" cellspacing="0" id="content1">
										<b:showNews outResponseAttrName="gsdt" limitRow="9" newsTypeName="公司动态" getType="list"/>
											<c:forEach items="${gsdt.rows }" var="p">
											<tr>
												<td width="404" height="25" background="<c:url value="/views/jsp/xcimage/index_new_r11_c16.jpg" />">
													<span style="float: left;">&nbsp;&nbsp;&nbsp;
														<a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" target="_blank" title="${p.newsTitle }">
															<font color="#FF0000">${p.newsTitle }</font>
														</a>
													</span>
													<font color="#FF0000">
													<span style="float: right; color: #999999;">${p.publishDate }</span>
													</font>
												</td>
											</tr>
											</c:forEach>
								</table>
								<table width="404" height="24" border="0" align="center"
									cellpadding="0" cellspacing="0" id="content2"
									style="display: none;">
										<b:showNews outResponseAttrName="hyzx" limitRow="9" newsTypeName="行业资讯" getType="list"/>
											<c:forEach items="${hyzx.rows }" var="p">
											<tr>
												<td width="404" height="25" background="<c:url value="/views/jsp/xcimage/index_new_r11_c16.jpg" />">
													<span style="float: left;">&nbsp;&nbsp;&nbsp;
														<a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" target="_blank" title="${p.newsTitle }">
															<font color="#FF0000">${p.newsTitle }</font>
														</a>
													</span>
													<font color="#FF0000">
													<span style="float: right; color: #999999;">${p.publishDate }</span>
													</font>
												</td>
											</tr>
											</c:forEach>
								</table>
								
								<table width="100%" height="2" border="0" cellpadding="0"
									cellspacing="0">
									<tbody>
										<tr>
											<td height="2"></td>
										</tr>
									</tbody>
								</table>
							</td>
						</tr>
					</tbody>
				</table>

				<table width="100%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tbody>
						<tr>
							<td valign="top">
							<img src="<c:url value="/views/jsp/xcimage/index_new_r17_c12.jpg" />" width="428" height="7">	
							</td>
						</tr>
					</tbody>
				</table>
			</td>
			<td width="100%" valign="top">
				<table width="257" height="27"
					border="0" cellpadding="0" cellspacing="0">
					<tbody>
						<tr>
							<td width="300" height="27" background="<c:url value="/views/jsp/xcimage/index_r_r1_c1.jpg" />">
								&nbsp;</td>
						</tr>
					</tbody>
				</table>
				<table width="100%" height="51" border="0" cellpadding="0"
					cellspacing="0">
					<tbody>
						<tr>
							<td width="100%" height="51">
								<a href="<c:url value="/product/searchProduct.s" />">
									<img src="<c:url value="/views/jsp/xcimage/kccx.jpg" />" width="257" height="51" border="0">		
								</a></td>
						</tr>
					</tbody>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td>
								<a href="<c:url value="/views/jsp/center/other/c_searchBatchPaper_list.jsp" />">
									<img src="<c:url value="/views/jsp/xcimage/zjdxz.jpg" />" width="257" height="50" border="0">	
								</a>
							</td>
						</tr>
					</tbody>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td>
								<a href="<c:url value="/views/jsp/center/other/c_searchBatchPaper_list.jsp" />">
									<img src="<c:url value="/views/jsp/xcimage/syzlxz.jpg" />" width="257" height="50" border="0">	
								</a>
							</td>
						</tr>
					</tbody>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td><a
								href="http://www.ahxcyy.com/Member/yplxcx.aspx">
								<img src="<c:url value="/views/jsp/xcimage/gyslxxz.jpg" />" width="257" height="50" border="0">	
								</a>
							</td>
						</tr>
					</tbody>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td>
							<img src="<c:url value="/views/jsp/xcimage/index_r_r11_c1.jpg" />" width="257" height="21">		
							</td>
						</tr>
					</tbody>
				</table></td>
		</tr>
	</tbody>
</table>

<%-- 空白分割线 --%>
<table width="1015" height="15" cellspacing="0">
	<tbody>
		<tr height="4">
			<td width="1000" height="10"></td>
		</tr>
	</tbody>
</table>

<%-- 公司一瞥 --%>
<table width="1015" height="31" border="0" align="center"
	cellpadding="0" cellspacing="0"
	background="<c:url value="/views/jsp/xcimage/index_r_r_r1_c4.jpg" />">
	<tbody>
		<tr>
			<td width="14" height="31" align="left"><img
				src="<c:url value="/views/jsp/xcimage/index_r_r_r1_c1.jpg" />"
				width="15" height="31"></td>
			<td width="585" align="left">
				<div style="font-size: 14px; font-weight: bold; color: #007BBE; padding-left: 5px; padding-top: 3px;">
					公司一瞥
				</div>
			</td>
			<td width="585" align="right"><a href="#" target="_blank"
				class="font1">&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
			<td width="14">
			<img
				src="<c:url value="/views/jsp/xcimage/index_r_r_r1_c11.jpg" />"
				width="15" height="31"></td>
		</tr>
	</tbody>
</table>
<%-- 滚动图 --%>
<table width="1015" height="211" border="0" align="center" cellspacing="0" style="border-left: 1px #AEBAC6 solid; border-right: 1px #AEBAC6 solid;">
	<td valign="top">
		<table>
			<tbody>
				<tr>
					<td height="13"></td>
				</tr>
			</tbody>
		</table> 
		<b:getKey outResponseAttrName="gd" key="GSYP" type="xc" />
		<table width="968" align="center" height="196">
			<tbody>
				<tr>
					<td width="968" height="186" align="left">
						<div id="demo1" style="overflow: hidden; height: 166px; width: 968px;">
							<table width="50%" border="0" cellspacing="0" cellpadding="0">
								<tbody>
									<tr>
										<td id="demo1_1">
											<table>
												<tbody>
													<tr>
														<c:forEach items="${gd.rows }" var="gdlist">
															<td valign="top">
															<a style="width:84px;" href="<c:url value="/views/jsp/cms/help/_xc_index_d.jsp?id=GD" />">
																<table width="180" height="166">
																	<tbody>
																		<tr>
																			<td width="180" height="166" align="left" valign="top">
																				<table width="180" height="136">
																					<tbody>
																						<tr>
																							<td width="180" height="136" align="center">
																								<img src="${gdlist.value }" width="180" height="136" border="0" />
																							</td>
																						</tr>
																					</tbody>
																				</table>
																				<table width="180" height="26">
																					<tbody>
																						<tr>
																							<td width="180" height="26" align="center">${gdlist.notes }</td>
																						</tr>
																					</tbody>
																				</table>
																			</td>
																		</tr>
																	</tbody>
																</table>
																</a>
															</td>
														</c:forEach>
													</tr>
												</tbody>
											</table>
										</td>
										<td id="demo1_2">
											<table>
												<tbody>
													<tr>
														<c:forEach items="${gd.rows }" var="gdlist">
															<td valign="top">
																<a style="width:84px;" href="<c:url value="/views/jsp/cms/help/_xc_index_d.jsp?id=GD" />">
																<table width="180" height="166">
																	<tbody>
																		<tr>
																			<td width="180" height="166">
																				<table width="180" height="136">
																					<tbody>
																						<tr>
																							<td width="180" height="136" align="center">
																								<img src="${gdlist.value }" width="180" height="136" border="0" />
																							</td>
																						</tr>
																					</tbody>
																				</table>

																				<table width="180" height="26">
																					<tbody>
																						<tr>
																							<td width="180" height="26" align="center">${gdlist.notes }</td>
																						</tr>
																					</tbody>
																				</table>
																			</td>
																		</tr>
																	</tbody>
																</table>
																</a>
															</td>
														</c:forEach>
													</tr>
												</tbody>
											</table> 
											<script language="javascript"> marqueeStart("1", "left") </script>
										</td>
									</tr>
								</tbody>
							</table>
							<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
								<tbody>
									<tr>
										<td height="20"></td>
									</tr>
								</tbody>
							</table>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
		<table>
			<tbody>
				<tr>
					<td valign="top">
					<img src="<c:url value="/views/jsp/xcimage/index_r_r_r1_c12.jpg" />" width="1015" height="8">
					</td>
				</tr>
			</tbody>
		</table>
	</td>
</table>
